Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ctrl+h and Ctrl+m keybindings #135

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

un-def
Copy link
Contributor

@un-def un-def commented Nov 11, 2023

As an ex-dmenu/rofi user, I really miss these two terminal/shell-style keybindings:

  • Ctrl+h → Delete the preceding character (0x08, BACKSPACE)
  • Ctrl+m → Confirm (0x0D, CARRIAGE RETURN)

There is another commonly used keybinding for Confirm — Ctrl+j (0x0A, LINE FEED) — but it is already mapped to Move Forward (anyway, I personally never use Ctrl-j).

@philj56
Copy link
Owner

philj56 commented Dec 30, 2024

Sorry this took over a year(!) to get round to, but it looks good - thanks for the PR!

@philj56 philj56 added the enhancement New feature or request label Dec 30, 2024
@philj56 philj56 merged commit 1eb6137 into philj56:master Dec 30, 2024
@un-def un-def deleted the feature-c-h-c-m branch December 30, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants